import java.lang.annotation.Annotation;

/**
 * @author zhu_shuai
 * @since 8/4
 */
public class Demo05Annotation {
    public static void main(String[] args) {
        Class<User> userClass = User.class;
        Annotation[] annotations = userClass.getAnnotations();
        for (Annotation annotation : annotations) {
            System.out.println(annotation.annotationType());
        }
    }
}
